﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<BGCMS.Models.Question>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    <%: Model.Title %>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h2>
        <%: Model.Title %></h2>
    <div id="question">
        <h3>
            Spurt er:</h3>
        <p>
            <%= System.Web.HttpUtility.HtmlDecode(Model.Question1) %></p>
    </div>
    <div id="answer">
        <h3>
            Svarað:</h3>
        <p>
            <%= System.Web.HttpUtility.HtmlDecode(Model.Answer) %></p>
    </div>
    <div id="back">
        <a href="javascript: history.go(-1)">Til baka</a>
    </div>
</asp:Content>